<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%!
	static List<String[]> list = new ArrayList<String[]>();
	static {
		list.add(new String[]{"购买呼入","购买呼入"});
		list.add(new String[]{"销售回访","销售回访"});
		list.add(new String[]{"查询呼入","查询呼入"});
		list.add(new String[]{"追单回访","追单回访"});
		list.add(new String[]{"投诉呼入","投诉呼入"});
		list.add(new String[]{"服务回访","服务回访"});
		list.add(new String[]{"其他交流","其他交流"});
	}
	%>
<%
	String contextPath = request.getContextPath();
	Jiaotan jt = (Jiaotan) request.getAttribute("jt");
	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.zhangyj.entitis.Jiaotan"%>
<%@page import="com.zhangyj.entitis.SystemParam"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.zhangyj.impl.component.GenaralUtil"%>
<%@page import="com.zhangyj.component.ToolBar"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="/WEB-INF/jsps/head.jsp" %>
  <script type="text/javascript" src="<%=contextPath %>/manage/images/public.js"></script>
<script type="text/javascript">
function uf_submit() {
	
}
function uf_selectClient() {
	var obj = _open("<%=contextPath%>/selector/client.do",500,600);
	if (obj) {
		var form = document.forms["form1"];
		form["khbh"].value=obj["khbh"];
		form["kjmc"].value=obj["khxm"];
	}
	return false;
}
</script>
</head>
<body>
<%
	ToolBar toolbar = new ToolBar();
	toolbar.setTitle("客户交谈编辑");
	toolbar.put(new ToolBar.Item("返回", "_setLocation('"+contextPath+"/client/list.do')"));
	toolbar.writer(out);
%>
<form name="form1" action="<%=contextPath%>/jt/save.do">
<%=SystemParam.getSystemParam(request).toInput() %>
<input type="hidden" name="khbh" value="<%=jt.getKjbh() %>"/>

<div class="subcontent">
     <ul>
      <li>客户名称：<input name="kjmc" style="width:453px;" value="<%=jt.getKjmc() %>"/><input type="button" name="ps" class="btnsubmit" onclick="return uf_selectClient()" value="选择" /></li>
      <li>交流类型：<%GenaralUtil.printSelect("jllx",list,jt.getJllx(),out); %></li>
	  <li>交流时间：<%=jt.getJlsj() %></li>
     <li>交流内容：</li>
        <li style="padding-top:10px;height:200px;">
        
        <textarea rows="" cols="" name="jlnr" style="Width:100%;Height:260;display: none"><%=jt.getJlnr() %></textarea>
	</li>
	<li>交流建议:</li>
	<li style="height:70px">
	<textarea style="width:100%;height:100%" name="jljy"><%=jt.getJljy() %></textarea> 
	</li>
	<li>交流解答:</li>
	 <li style="height:70px"><textarea style="width:100%;height:100%" name="jljd"><%=jt.getJljd() %></textarea> </li>
      <li style=" padding:8px 0 0 0;"><input type="submit" class="btnsubmit" value="保  存" /> <input type="reset" class="btnsubmit" value="取  消"/></li>
    
     </ul>
</div>
	</form>
</body>
</html>